Best Practices Divmod Python